 public class ArraySquareReverse { // made by 20175126
 public static void main(String [] args) {
          for(int i = args.length;i>0;i--){
		int  m =Integer.parseInt(args[i-1]); 
		  System.out.print(m*m+" ");
          }
	  System.out.print('\n');//
      }
  }
